package com.ruoyi.translat.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @Title:
 * @author: WYJ
 * @date: 2025/10/11
 */
public class TranslatSecret extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 密钥类型：腾讯Tencent 百度 Baidu */
    @Excel(name = "密钥类型：腾讯Tencent 百度 Baidu")
    private String type;

    /** 密钥id */
    @Excel(name = "密钥id")
    private String secretId;

    /** 密钥key */
    @Excel(name = "密钥key")
    private String secretKey;

    /** 是否打开 : on off */
    @Excel(name = "是否打开 : on off")
    private String izOpen;

    /** 归属 */
    @Excel(name = "归属")
    private String belonging;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }

    public void setSecretId(String secretId)
    {
        this.secretId = secretId;
    }

    public String getSecretId()
    {
        return secretId;
    }

    public void setSecretKey(String secretKey)
    {
        this.secretKey = secretKey;
    }

    public String getSecretKey()
    {
        return secretKey;
    }

    public void setIzOpen(String izOpen)
    {
        this.izOpen = izOpen;
    }

    public String getIzOpen()
    {
        return izOpen;
    }

    public void setBelonging(String belonging)
    {
        this.belonging = belonging;
    }

    public String getBelonging()
    {
        return belonging;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("type", getType())
                .append("secretId", getSecretId())
                .append("secretKey", getSecretKey())
                .append("izOpen", getIzOpen())
                .append("belonging", getBelonging())
                .append("remark", getRemark())
                .toString();
    }
}
